package org.sxp.modules.dataworks.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.sxp.common.validator.group.L2;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 数据开发
 * 如果同时想发布到rpc，请拷贝至公共依赖模块，用于rpc之间数据交互
 * @author 沈兴平
 * @date 2022/02/09
 */
@Data
public class DevelopResultDTO implements Serializable {
	private Integer code;
	private String msg;
	private Boolean success;
	private Long ms;
	private List<Column> columns;
	private Zxjg zxjg;

	@Data
	public class Column{
		private String field;
		private String title;
		private Integer width = 100;
	}
	@Data
	public class Zxjg{
		Integer count;
		Object rows;
	}
}
